package com.lbkj.ops.model;

import com.lbkj.ops.common.jpa.JpaBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author jian.liu
 * @date 2020/10/29
 */
@Entity
@Table
@Data
@EqualsAndHashCode(callSuper = true)
public class OpsServer extends JpaBaseEntity {

    @Column(length = 50, nullable = false)
    private String name;
    @Column(length = 50, nullable = false)
    private String ip;
    @Column(length = 10)
    private Integer port;
    @Column(length = 10, nullable = false)
    private String type;
    @Column(length = 10, nullable = false)
    private String env;
    @Column(length = 1000)
    private String info;

}
